package com.cht.dao;

import com.cht.pojo.Article;
import org.apache.ibatis.annotations.Select;

import java.util.List;


public interface ArticleDao {

    //    @Select("SELECT * FROM t_article limit  #{pageStart},#{pageSize}")
//    List<Article> findAll(Integer pageStart,Integer pageSize );
    @Select("SELECT * FROM t_article")
    List<Article> findAll();
}
